package 消费者与生产者模式练习.Test02;

public class Test02 {
    public static void main(String[] args) {
        Num num = new Num();
        Thread t1 = new Thread(new T1(num));
        Thread t2 = new Thread(new T2(num));
        t1.setName("t1");
        t2.setName("t2");
        t1.start();
        t2.start();
    }
}
